
package net.mappoint.s.mappoint_30;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for MapStyle.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="MapStyle">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="DefaultStyle"/>
 *     &lt;enumeration value="Locator"/>
 *     &lt;enumeration value="Terrain"/>
 *     &lt;enumeration value="Road"/>
 *     &lt;enumeration value="Political"/>
 *     &lt;enumeration value="Small"/>
 *     &lt;enumeration value="LocatorBW"/>
 *     &lt;enumeration value="TerrainBW"/>
 *     &lt;enumeration value="RoadBW"/>
 *     &lt;enumeration value="PoliticalBW"/>
 *     &lt;enumeration value="SmallBW"/>
 *     &lt;enumeration value="Comprehensive"/>
 *     &lt;enumeration value="PhysicalFeatures"/>
 *     &lt;enumeration value="Tectonic"/>
 *     &lt;enumeration value="EarthByDay"/>
 *     &lt;enumeration value="EarthByNight"/>
 *     &lt;enumeration value="Ecoregions"/>
 *     &lt;enumeration value="Climate"/>
 *     &lt;enumeration value="TemperatureJanuary"/>
 *     &lt;enumeration value="TemperatureJuly"/>
 *     &lt;enumeration value="PrecipitationJanuary"/>
 *     &lt;enumeration value="PrecipitationJuly"/>
 *     &lt;enumeration value="PrecipitationAnnual"/>
 *     &lt;enumeration value="Languages"/>
 *     &lt;enumeration value="Religions"/>
 *     &lt;enumeration value="PopulationDensity"/>
 *     &lt;enumeration value="Parks"/>
 *     &lt;enumeration value="TimeZones"/>
 *     &lt;enumeration value="Outline"/>
 *     &lt;enumeration value="Phone"/>
 *     &lt;enumeration value="PhoneBW"/>
 *     &lt;enumeration value="Night"/>
 *     &lt;enumeration value="Europe"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "MapStyle")
@XmlEnum
public enum MapStyle {

    @XmlEnumValue("DefaultStyle")
    DEFAULT_STYLE("DefaultStyle"),
    @XmlEnumValue("Locator")
    LOCATOR("Locator"),
    @XmlEnumValue("Terrain")
    TERRAIN("Terrain"),
    @XmlEnumValue("Road")
    ROAD("Road"),
    @XmlEnumValue("Political")
    POLITICAL("Political"),
    @XmlEnumValue("Small")
    SMALL("Small"),
    @XmlEnumValue("LocatorBW")
    LOCATOR_BW("LocatorBW"),
    @XmlEnumValue("TerrainBW")
    TERRAIN_BW("TerrainBW"),
    @XmlEnumValue("RoadBW")
    ROAD_BW("RoadBW"),
    @XmlEnumValue("PoliticalBW")
    POLITICAL_BW("PoliticalBW"),
    @XmlEnumValue("SmallBW")
    SMALL_BW("SmallBW"),
    @XmlEnumValue("Comprehensive")
    COMPREHENSIVE("Comprehensive"),
    @XmlEnumValue("PhysicalFeatures")
    PHYSICAL_FEATURES("PhysicalFeatures"),
    @XmlEnumValue("Tectonic")
    TECTONIC("Tectonic"),
    @XmlEnumValue("EarthByDay")
    EARTH_BY_DAY("EarthByDay"),
    @XmlEnumValue("EarthByNight")
    EARTH_BY_NIGHT("EarthByNight"),
    @XmlEnumValue("Ecoregions")
    ECOREGIONS("Ecoregions"),
    @XmlEnumValue("Climate")
    CLIMATE("Climate"),
    @XmlEnumValue("TemperatureJanuary")
    TEMPERATURE_JANUARY("TemperatureJanuary"),
    @XmlEnumValue("TemperatureJuly")
    TEMPERATURE_JULY("TemperatureJuly"),
    @XmlEnumValue("PrecipitationJanuary")
    PRECIPITATION_JANUARY("PrecipitationJanuary"),
    @XmlEnumValue("PrecipitationJuly")
    PRECIPITATION_JULY("PrecipitationJuly"),
    @XmlEnumValue("PrecipitationAnnual")
    PRECIPITATION_ANNUAL("PrecipitationAnnual"),
    @XmlEnumValue("Languages")
    LANGUAGES("Languages"),
    @XmlEnumValue("Religions")
    RELIGIONS("Religions"),
    @XmlEnumValue("PopulationDensity")
    POPULATION_DENSITY("PopulationDensity"),
    @XmlEnumValue("Parks")
    PARKS("Parks"),
    @XmlEnumValue("TimeZones")
    TIME_ZONES("TimeZones"),
    @XmlEnumValue("Outline")
    OUTLINE("Outline"),
    @XmlEnumValue("Phone")
    PHONE("Phone"),
    @XmlEnumValue("PhoneBW")
    PHONE_BW("PhoneBW"),
    @XmlEnumValue("Night")
    NIGHT("Night"),
    @XmlEnumValue("Europe")
    EUROPE("Europe");
    private final String value;

    MapStyle(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static MapStyle fromValue(String v) {
        for (MapStyle c: MapStyle.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
